def ask(name="函数"):
    print(name)

class Person:
    def __init__(self):
        print("类")


my_func = ask
my_func()

my_class = Person
my_class()

def print_type(item):
    print(type(item))

obj_list = []
obj_list.append(ask)
obj_list.append(Person)

for item in obj_list:
    # print(item())
    print_type(item)